const inBrowser = typeof window !== 'undefined';
const UA = inBrowser && window.navigator.userAgent.toLowerCase();
const isAndroid = (UA && UA.indexOf('android') > 0) ;
const isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) ;
const isIE = UA && /msie|trident/.test(UA);


var env={
    isAndroid,
    isIOS,
    isIE,
    inBrowser
}


module.exports = env;